home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_31944.txt < prev    next >
Text File  |  1990-10-02  |  6KB  |  266 lines

  1. -- card: 31944 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 11206
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "north" then
  14.     put "You paddle until you bump into the north wall." into field 3
  15.     exit move
  16.   end if
  17.   if direction = "south" then
  18.     put "You paddle until you bump into the south wall." into field 3
  19.     exit move
  20.   end if
  21.   if direction = "east" then
  22.     go card id 31445
  23.     exit move
  24.   end if
  25.   if direction = "west" then
  26.     go to card id 32422
  27.     exit move
  28.   end if
  29.   if direction = "exit" then
  30.     put "You can paddle to either the east or west ledge by choosing east or west.  You don't want to exit into the water or you will drown." into field 3
  31.     exit move
  32.   end if
  33.   pass move
  34. end move
  35.  
  36.  
  37. on closeCard
  38.   set the cursor to 4
  39.   put "" into field 3
  40. end closeCard
  41.  
  42. on take
  43.   global object,carried
  44.   -- remember to update carried if you do not pass take
  45.   pass take
  46. end take
  47.  
  48. on drop
  49.   global object,dropRoom,carried
  50.   answer "Drop object into tub, or into the water?" with "water" or "tub"
  51.   if it="water" then
  52.     put "Splash!" into field 3
  53.     put "33443" into dropRoom
  54.   end if
  55.   -- remember to update carried if you do not pass drop
  56.   pass drop
  57. end drop
  58.  
  59. on use
  60.   global object,carried
  61.   -- update carried if use results in loss of object
  62.   pass use
  63. end use
  64.  
  65.  
  66.  
  67.  
  68.  
  69. -- part 16 (button)
  70. -- low flags: 80
  71. -- high flags: 2000
  72. -- rect: left=205 top=231 right=267 bottom=239
  73. -- title width / last selected line: 0
  74. -- icon id / first selected line: 9301 / 9301
  75. -- text alignment: 1
  76. -- font id: 0
  77. -- text size: 12
  78. -- style flags: 0
  79. -- line height: 16
  80. -- part name: knife
  81. ----- HyperTalk script -----
  82. on mouseUp
  83.   global takeFlag,examFlag,object,cardID
  84.   put the name of the target into object
  85.   if takeFlag = true
  86.   then send take to card id cardID
  87. else put "a knife" into field 3
  88. put false into examFlag
  89. end mouseUp
  90.  
  91.  
  92.  
  93. -- part 17 (button)
  94. -- low flags: 80
  95. -- high flags: 2000
  96. -- rect: left=35 top=230 right=266 bottom=69
  97. -- title width / last selected line: 0
  98. -- icon id / first selected line: 1015 / 1015
  99. -- text alignment: 1
  100. -- font id: 0
  101. -- text size: 12
  102. -- style flags: 0
  103. -- line height: 16
  104. -- part name: nodule
  105. ----- HyperTalk script -----
  106. on mouseUp
  107.   global takeFlag,examFlag,object,cardID
  108.   put the name of the target into object
  109.   if takeFlag = true
  110.   then send take to card id cardID
  111. else put "a silicon sphere" into field 3
  112. put false into examFlag
  113. end mouseUp
  114.  
  115.  
  116.  
  117. -- part 18 (button)
  118. -- low flags: 80
  119. -- high flags: 2000
  120. -- rect: left=103 top=230 right=266 bottom=137
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 14953 / 14953
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: ladder
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   global takeFlag,examFlag,object,cardID
  132.   put the name of the target into object
  133.   if takeFlag = true
  134.   then send take to card id cardID
  135. else put "a rope ladder" into field 3
  136. put false into examFlag
  137. end mouseUp
  138.  
  139.  
  140.  
  141. -- part 19 (button)
  142. -- low flags: 80
  143. -- high flags: 2000
  144. -- rect: left=69 top=230 right=266 bottom=103
  145. -- title width / last selected line: 0
  146. -- icon id / first selected line: 1019 / 1019
  147. -- text alignment: 1
  148. -- font id: 0
  149. -- text size: 12
  150. -- style flags: 0
  151. -- line height: 16
  152. -- part name: bomb
  153. ----- HyperTalk script -----
  154. on mouseUp
  155.   global takeFlag,examFlag,object,cardID
  156.   put the name of the target into object
  157.   if takeFlag = true
  158.   then send take to card id cardID
  159. else put "a time bomb" into field 3
  160. put false into examFlag
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 20 (button)
  166. -- low flags: 80
  167. -- high flags: 2000
  168. -- rect: left=137 top=230 right=266 bottom=171
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 24317 / 24317
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: key
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   global takeFlag,examFlag,object,cardID
  180.   put the name of the target into object
  181.   if takeFlag = true
  182.   then send take to card id cardID
  183. else put "a key" into field 3
  184. put false into examFlag
  185. end mouseUp
  186.  
  187.  
  188.  
  189. -- part 21 (button)
  190. -- low flags: 80
  191. -- high flags: 2000
  192. -- rect: left=171 top=231 right=267 bottom=205
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 7012 / 7012
  195. -- text alignment: 1
  196. -- font id: 0
  197. -- text size: 12
  198. -- style flags: 0
  199. -- line height: 16
  200. -- part name: gem
  201. ----- HyperTalk script -----
  202. on mouseUp
  203.   global takeFlag,examFlag,object,cardID
  204.   put the name of the target into object
  205.   if takeFlag = true
  206.   then send take to card id cardID
  207. else put "a glowing gem" into field 3
  208. put false into examFlag
  209. end mouseUp
  210.  
  211.  
  212.  
  213. -- part 41 (button)
  214. -- low flags: 00
  215. -- high flags: 0000
  216. -- rect: left=235 top=63 right=209 bottom=255
  217. -- title width / last selected line: 0
  218. -- icon id / first selected line: 0 / 0
  219. -- text alignment: 1
  220. -- font id: 0
  221. -- text size: 12
  222. -- style flags: 0
  223. -- line height: 16
  224. -- part name: 
  225. ----- HyperTalk script -----
  226. on mouseUp
  227.   global direction,cardID
  228.   put "east" into direction
  229.   send move to card id cardID
  230. end mouseUp
  231.  
  232.  
  233.  
  234. -- part 42 (button)
  235. -- low flags: 00
  236. -- high flags: 0000
  237. -- rect: left=1 top=63 right=209 bottom=21
  238. -- title width / last selected line: 0
  239. -- icon id / first selected line: 0 / 0
  240. -- text alignment: 1
  241. -- font id: 0
  242. -- text size: 12
  243. -- style flags: 0
  244. -- line height: 16
  245. -- part name: 
  246. ----- HyperTalk script -----
  247. on mouseUp
  248.   global direction,cardID
  249.   put "west" into direction
  250.   send move to card id cardID
  251. end mouseUp
  252.  
  253.  
  254.  
  255. -- part contents for background part 25
  256. ----- text -----
  257. Inside Wash Tub
  258. (floating)
  259.  
  260. -- part contents for background part 24
  261. ----- text -----
  262. You are floating in the flooded Great Chamber inside a giant wash tub.  You are able to paddle the tub around with your hands -- not speedy, but it does get the job done.
  263.  
  264. -- part contents for background part 36
  265. ----- text -----
  266. 1